home *** CD-ROM | disk | FTP | other *** search
/ Computer Shopper 2005 October / Computer Shopper 2005 October.iso / Toolkit / System / WinPatrol / wpsetup.exe / _SETUP.1 / db.js < prev    next >
Encoding:
Text File  |  2005-05-30  |  3.4 KB  |  110 lines

  1. function TopofEntry()
  2. {
  3.  
  4.     document.write("<TABLE width=525 CELLSPACING='0' CELLPADDING='0' >");
  5.     document.write("<TR><TD WIDTH='20%' VALIGN='top'>");
  6.     document.write("   <img src='border1.gif' border=0  width='100'>");
  7.     document.write("    </TD><TD WIDTH='80%' VALIGN='top' align='left'>");
  8.     document.write('<IMG ALT="BillP Studios Logo" BORDER="0" align=middle ');
  9.     document.write(' SRC="banner.jpg" WIDTH="320" HEIGHT="68"> ');
  10.     document.write('<br>                             <SPAN class="buttonText12"><A href="http://www.winpatrol.com/">WinPatrol Plus</A> Program Information Page' );
  11.     document.write('<br> ' );
  12.     document.write('</SPAN><br> ' );
  13.     document.write('<IMG align=middle alt="Studio Divider Bar" border=0 height=16 src="studioline.gif" width=418 ><BR><br> ' );
  14.  
  15.     return;
  16.  
  17. }
  18.  
  19.  
  20. function DoFooter()
  21. {
  22.  
  23.  
  24.     document.write("<P ALIGN=center>");
  25.  
  26.  
  27.  
  28.  
  29. document.write("<P ALIGN=left>");
  30.  
  31.  
  32.  
  33.     
  34.     document.write("<P><P ALIGN=center>");
  35.     
  36.  
  37.     document.write("<P><P ALIGN=center>");
  38.     document.write("<A HREF='http://www.winpatrol.com/index.html'>");
  39.     document.write("<IMG SRC='home.gif'  ALT='WinPatrol.com Home Page' ");        document.write(" BORDER='0' ALIGN='middle' ></A><BR>");
  40.     document.write(" <P ALIGN=center> <P ALIGN=center>");
  41.     document.write(" <FONT SIZE=1 COLOR='#000000' FACE='Arial,Helv,Helvetica'>");
  42.     document.write(" Copyright ⌐ 1997-2005 BillP Studios<BR> All Rights Reserved.<BR>");
  43.     document.write(" </FONT> <BR></P><CENTER></CENTER></FONT>");
  44.     document.write(" </TD></TR></TABLE>");
  45.  
  46.     return;
  47. }
  48.  
  49.  function GetProgramName()
  50.  {
  51.     var h = parent.location.href;
  52.     var nr = h.split("?");
  53.  
  54.     if(( typeof(nr[1])== "undefined") )
  55.         sProgram = "";
  56.     else
  57.         sProgram=nr[1];
  58.         
  59.     return sProgram;
  60.  }
  61.  
  62.  
  63.  function GetDBFileName()
  64.  {
  65.     var h = parent.location.href;
  66.     var nr = h.split("/");
  67.     var ln;
  68.     ln = nr.length;    
  69.  
  70.     if(( typeof(nr[1])== "undefined") )
  71.         sProgram = "";
  72.     else
  73.         sProgram=nr[ln-1];
  74.  
  75.     return sProgram;
  76.  }
  77.  
  78.  
  79. function Google()
  80. {
  81.  
  82.  
  83.     var prog = GetProgramName();
  84.     if(prog == "")
  85.     {
  86.         window.location = "http://www.winpatrol.com/stats.html";
  87.     }
  88.     
  89.  
  90.     document.write("<center>");
  91.     document.write("<FORM method=GET action='http://www.google.com/custom'>");
  92.     document.write("<TABLE bgcolor='#FEFAEF'><tr><td nowrap='nowrap' valign='top' align='center' height='32'>");
  93.     document.write("<A HREF='http://www.google.com/'>");
  94.     document.write("<IMG SRC='http://www.google.com/logos/Logo_25wht.gif' border=0 ALT='Google' align='absmiddle'></A>");
  95.  
  96.     document.write("<INPUT TYPE=text name=q size=25 maxlength=255 value='" + GetProgramName() + "'>");
  97.  
  98.     document.write("<INPUT type=submit name=sa VALUE='Search'>");
  99.  
  100.     document.write("<input type=hidden name=client value='pub-5216032068438142'>");
  101.     document.write("<input type=hidden name=forid value='1'>");
  102.     document.write("<input type=hidden name=ie value='ISO-8859-1'>");
  103.     document.write("<input type=hidden name=oe value='ISO-8859-1'>");
  104.     document.write("<input type=hidden name=cof value='GALT:#008000;GL:1;DIV:#336699;VLC:663399;AH:center;BGC:FFFFFF;LBGC:336699;ALC:0000FF;LC:0000FF;T:000000;GFNT:0000FF;GIMP:0000FF;FORID:1;'>");
  105.     document.write("<input type=hidden name=hl value='en'>");
  106.     document.write("</td></tr></TABLE>");
  107.     document.write("</FORM>");
  108.     document.write("</center>");
  109.     return;
  110. }